a=300
sum1=0
while a<=415:     #41470
    #sum1=0   #每循环一次都会重置
    sum1+=a
    a+=1
print(sum1)


